package cn.stylefeng.guns.modular.app.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.app.entity.MovingPalletsmerge;
import cn.stylefeng.guns.modular.app.model.params.MovingPalletsmergeParam;
import cn.stylefeng.guns.modular.app.model.result.MovingPalletsmergeResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 移库和托 服务类
 */
public interface MovingPalletsmergeService extends IService<MovingPalletsmerge> {

    /**
     * 新增
     *
     * @author wz
     * @Date 2019-08-09
     */
    void add(MovingPalletsmergeParam param);

    /**
     * 删除
     *
     * @author wz
     * @Date 2019-08-09
     */
    void delete(MovingPalletsmergeParam param);

    /**
     * 更新
     *
     * @author wz
     * @Date 2019-08-09
     */
    void update(MovingPalletsmergeParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wz
     * @Date 2019-08-09
     */
    MovingPalletsmergeResult findBySpec(MovingPalletsmergeParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wz
     * @Date 2019-08-09
     */
    List<MovingPalletsmergeResult> findListBySpec(MovingPalletsmergeParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wz
     * @Date 2019-08-09
     */
     LayuiPageInfo findPageBySpec(MovingPalletsmergeParam param, String condition,Long operateId);

}
